<HTML><HEAD><TITLE>RemoteObjectFactory</TITLE></HEAD>
<BODY>
<!#CLASSDEF
RemoteObjectFactory
#ENDCLASSDEF>
<H1>RemoteObjectFactory</H1>

<P>Derived classes create remote objects.  
<H2>Methods</H2>
<UL>
<LI><A HREF="#create(self,_protoSpec,_key,_localObject)">create(self, protoSpec, key, localObject)</A>
</UL>
<A NAME="create">
<A NAME="create(self,_protoSpec,_key,_localObject)">
<H3>create(self, protoSpec, key, localObject)</H3>
<PRE>
   def create(self, protoSpec, key, localObject = None):
</PRE>

<P>Derived classes must override this function to provide one that returns their
particular variety of remote object.  
<P>parms: 
<DL> <DT> protoSpec 
<DD> 
<P>[<A HREF="Protocol.html"> Protocol</A> or None] If supplied, this is the
protocol for the object.  If <B>None</B>, this is an indicator that the object
exists locally and a protocol will be provided for it when the remote object is
transported.  <I>localObject</I> should not be <B>None</B> in this case.  <P>
<DT> key 
<DD> 
<P>[string] object key.  <P>
<DT> localObject 
<DD> 
<P>[any] If not <B>None</B>, this is the local (server side) object.  If this is
provided, <I>protoSpec</I> may be <B>None</B>.  <P>

</DL>

</BODY></HTML>
